package com.xpsoft.oa.model.produce;


import com.google.gson.annotations.Expose;
import com.xpsoft.oa.model.project.Project;
import com.xpsoft.oa.model.system.AppUser;

/**
 * MaterialPurReal Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class MaterialPurReal extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected MaterialPurchase materialPurchase;
	@Expose
	protected Project project;
	@Expose
	protected String planNo;
	@Expose
	protected String quality;
	@Expose
	protected AppUser createUser;
	@Expose
	protected java.util.Date createTime;
	@Expose
	protected Long processRunId;


	/**
	 * Default Empty Constructor for class MaterialPurReal
	 */
	public MaterialPurReal () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class MaterialPurReal
	 */
	public MaterialPurReal (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	


	public MaterialPurchase getMaterialPurchase() {
		return materialPurchase;
	}

	public void setMaterialPurchase(MaterialPurchase materialPurchase) {
		this.materialPurchase = materialPurchase;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	/**
	 * 计划单号	 * @return String
	 * @hibernate.property column="planNo" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getPlanNo() {
		return this.planNo;
	}
	
	/**
	 * Set the planNo
	 */	
	public void setPlanNo(String aValue) {
		this.planNo = aValue;
	}	

	/**
	 * 质量要求	 * @return String
	 * @hibernate.property column="quality" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getQuality() {
		return this.quality;
	}
	
	/**
	 * Set the quality
	 */	
	public void setQuality(String aValue) {
		this.quality = aValue;
	}	

	public AppUser getCreateUser() {
		return createUser;
	}

	public void setCreateUser(AppUser createUser) {
		this.createUser = createUser;
	}

	/**
	 * 申请时间	 * @return java.util.Date
	 * @hibernate.property column="createTime" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	
	/**
	 * Set the createTime
	 */	
	public void setCreateTime(java.util.Date aValue) {
		this.createTime = aValue;
	}	

	/**
	 * 	 * @return Long
	 * @hibernate.property column="processRunId" type="java.lang.Long" length="19" not-null="false" unique="false"
	 */
	public Long getProcessRunId() {
		return this.processRunId;
	}
	
	/**
	 * Set the processRunId
	 */	
	public void setProcessRunId(Long aValue) {
		this.processRunId = aValue;
	}	

}
